/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pruebascroll;

/**
 *
 * @author tekoraik
 */
public class Controlador {
    VistaPrincipal vp;
    Diccionario d;
    public Controlador(){
        d=new Diccionario();
        vp = new VistaPrincipal(this);
        vp.setVisible(true);
        
    }
    public int getNumRows(){
        return d.getNumRows();
    }
    public String[] getRows(int i, int k){
        return d.getRows(i, k);
    }
}
